package com.yf.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface CommonService {
    Map<String, Object> uploadImage(MultipartFile file);
    boolean validateRecaptcha(String token);
    boolean sendActivateEmail(String receiver, String activateCode);
    int sendEmailValidCode(String receiver);
}
